/**
 *
 */
package com.jycode.commons.genericdaoDeprecated;

import java.util.Iterator;
import java.util.List;

import com.jycode.commons.model.SysUser;


/**
 * @author "banlyst <banlyst@gmail.com>"
 * @deprecated
 */
public interface UserDaoOld extends GenericDao<SysUser, Long>
{

    List<SysUser> findByName(String name);
    List<SysUser> findByEmail(String name);
    List<SysUser> findByNamePassword(String name, String password);
    Iterator<SysUser> iterateByName(String name);

    SysUser doLogin(String name, String password);
}

